<?php
class Bbs extends Base
{
    protected function getPrimaryKey()
    {
        return null;
    }

    protected function getTableName()
    {
        return null;
    }

    public function find($count)
    {
        $sql = "SELECT * FROM cdb_threads WHERE  displayorder>='0' order by dateline desc limit $count";
        return $this->_db->getall($sql);
    }
}

?>